home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / dcc / version.doc < prev   
Text File  |  1993-01-24  |  4KB  |  120 lines

  1.  
  2.     DCC
  3.     2.06.54
  4.         * when you compile a program like this:   dcc x.c y.c -o x 
  5.           Temporary objects are placed in T: and deleted on completion.
  6.           This makes DCC treat object files much like temporary 
  7.           preprocessor and temporary assembly files.
  8.  
  9.           Compiling dcc -c x.c y.c still works as expected (leaves the
  10.           object modules in the current directory) and specifying
  11.           object modules, like 'dcc x.o y.c -o x' works properly (the
  12.           x.o object module is NOT deleted but the temporary y.o object
  13.           module will be).
  14.  
  15.     2.06.53
  16.         * XXX MAJOR changes unlisted
  17.  
  18.     2.06.45
  19.         * DCC would previously not maintain object module ordering in the
  20.         link when you mix .c, .o, and .a files in one command.  That
  21.         has been fixed.
  22.  
  23.         * There are two ways to specify libraries.    Here is an example that
  24.         mixes both ways:
  25.  
  26.         dcc fubar.c x.lib y.c -lzap
  27.  
  28.         Method #1:      specify library file 'x.lib'.
  29.         Method #2:      specify library with -l option
  30.  
  31.         In Method #1 the library x.lib will be linked in between fubar.o and
  32.         y.o at link time.
  33.  
  34.         In Method #2 libraries specified with the -l option are linked AFTER
  35.         ALL OBJECTS but BEFORE C*.LIB AND AUTOS.LIB (which is how it worked
  36.         previously).  Therefore, the positioning of -l options relative to
  37.         other source/assembly/object files does not effect the outcome.
  38.  
  39.         The positioning of -l options relative to other -l options does, of
  40.         course, have the effect of changing the order in which libraries are
  41.         linked in.
  42.  
  43.         * The AMIGA*.LIB libraries have been renamed to bring them inline
  44.         with the naming conventions for other libraries:
  45.  
  46.         OLD NAMING CONVENTION            NEW NAMING CONVENTION
  47.         amigal20.lib                amiga20l.lib
  48.         amigasr20.lib                amiga20sr.lib
  49.  
  50.         etc...
  51.  
  52.         * Previously DCC would put object modules in wierd places.    It now puts
  53.         object modules in the same directory as the source module by default.
  54.         For example:
  55.  
  56.         DCC fubar.c -c -o t:fubar.o       ; works like before -- explicit
  57.                         ; specification of object file name
  58.  
  59.         DCC xx:fubar.c -c              ; REGISTERED:          t:fubar.o
  60.                         ; ALPHA2 COMMERCIAL:    fubar.o
  61.                         ; ALPHA3 COMMERCIAL:    xx:fubar.o
  62.  
  63.         That is, the registered release would stick the object in T: by
  64.         default, the commercial version you have would stick it in the
  65.         current directory, and the 'final' version that I haven't sent you
  66.         yet will stick it in the same directory as the source file.
  67.  
  68.         The -O option overides this as it always has.. that is, the -O
  69.         option is used as a prefix (and any assignment: is removed from
  70.         the file name), e.g.:
  71.  
  72.         DCC xx:a/b/fubar.c -Ot: -c          ; REG/A2/A3:    t:a/b/fubar.o
  73.  
  74.  
  75.     2.06.44 :
  76.             On link pass, deletes executable before beginning link
  77.             so as not to leave an older executable in existance.
  78.  
  79.             Object files, by default, are now put into the current
  80.             directory instead of T:
  81.  
  82.             Assembly files are put into the current directory if
  83.             the -a option is used.
  84.  
  85.             The default executable name is set to the name of the
  86.             source file minus the '.c'.  OCCURS FOR SINGLE-FILE
  87.             COMPILATIONS ONLY.
  88.  
  89.             -norom option turns off a previous -rom option
  90.             -noproto option turns off a previous -proto option
  91.  
  92.     2.06.33 :
  93.             version bump to track DC1 version
  94.  
  95.     2.06.21 :
  96.             now creates the directory heirarchy for a destination
  97.             path if it does not exist, unless -noheir is given.
  98.  
  99.             Object file path now correctly based on source file
  100.             path, before it was removing the first element of
  101.             a relative path.
  102.  
  103.     2.05.14 :
  104.             Fixes bug in DCC's checking of the output file name
  105.  
  106.     2.05.11 :
  107.             Uses 2.0 FindSegment()/RunCommand() system calls for
  108.             extremely efficient program startup, especially if
  109.             resident.  ^C now propogated properly.
  110.  
  111.     2.05.09 :
  112.             Uses 2.0 System() call if running under 2.0
  113.  
  114.     2.05.08 :
  115.             Massive additions
  116.  
  117.     2.05.06 :
  118.             -U[define] added (undef a define)
  119.  
  120.